package com.jcdd.mapper;

import com.jcdd.object.db.WxUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface WxUserMapper extends BaseMapper<WxUser> {

    @Select("select user_id from wx_user where openid = #{openid}")
    Long getUserIdByOpenid(String openid);


}
